from .auth import auth
from .system.menu import menu
from .system.account import account
from .system.role import role
from app.blueprint.index.index import index


def init_bp(app):
    app.register_blueprint(index, url_prefix='/')
    app.register_blueprint(auth, url_prefix='/api/manage/v1/auth')
    app.register_blueprint(menu, url_prefix='/api/manage/v1/menu')
    app.register_blueprint(account, url_prefix='/api/manage/v1/account')
    app.register_blueprint(role, url_prefix='/api/manage/v1/role')
